﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CPPEI.ETL.DataServiceInterface
{
    public class DataServiceInfo
    {
        public string Address { get; set; }
        public bool NeedAuth { get; private set; }
        public string AuthUser { get; set; }
        public string AuthPassword { get; set; }

        public DataServiceInfo(string address)
        {
            Address = address;
            NeedAuth = false;
        }

        public DataServiceInfo(string address, bool needAuth, string authUser, string authPassword)
        {
            Address = address;
            AuthUser = authUser;
            AuthPassword = authPassword;
            NeedAuth = needAuth;
        }
    }
}
